/* 
 * File:   Mul.h
 * Author: Gab'z
 *
 * Created on 3 juin 2012, 22:42
 */

#ifndef MUL_H
#define	MUL_H

#include "BinaryOperator.h"

namespace calculator {

    class Mul : public BinaryOperator {
        friend class CommandMap;

    public:
        virtual ~Mul();
        
        Mul* clone() const;

        const Number* apply(const Number* n1, const Number* n2) const throw (ArithmeticException);

    private:
        Mul(const std::string name);
        Mul(const Mul& orig);
    };
}

#endif	/* MUL_H */

